
	<div class="hai_gio_dem">
	<h5>Add a new product</h5><br>	
	
	<form enctype="multipart/form-data"  action="<?php echo $backend; ?>func_save_add_product" method="post" class="form">
		
		<label>Product Label</label> 
		<input type="text" name="product_label" size="25" class="textlabel" value="<?php 
		echo set_value('product_label'); ?>  "><br><br>

		<label>Product Name</label> 
		<input type="text" name="product_name" size="25" class="textname" value="<?php 
		echo set_value('product_name'); ?>  "><br><br>	

		<label>Price</label>
		<input type="text" name="product_price" size="25" class="textprice" value="<?php 
		echo set_value('product_price'); ?>  "><br><br>
		<div class="textarea1">
		<label>Description</label><br>
		<textarea name="description" rows="4" cols="80"><?php echo set_value('description'); ?> </textarea><br>
		</div>
		<div class="textarea2">
		<label>Article</label><br>
		<textarea name="product_article" rows="10" cols="80"><?php echo set_value('product_article'); ?> </textarea><br>
	    </div>
		<label>Main Image</label>
		<input type="file" name="product_image" ><br><br>

		<label>Category</label>
		<select name="category_id" class="select_cat">
			<?php foreach ($categories as $cat) {
				echo '<option value="'.$cat['category_id'].'">'.
				$cat['category_name'].'</option>';
			}
			?>
		</select><br><br>
		
		<label>product_extraimages</label>
		<input type="file" name="product_extraimages" ><br><br>
		
		<input type="submit" name="submit" value="Save"><a href="<?php echo $backend; ?>showproducts" class="back">Back</a> 
		</form>
	</div>